package com.alex.spring.annotation;/**
 * Created by Administrator on 2018\10\5 0005.
 */

/**
 * @author Administrator
 * @date 2018\10\5 0005
 */
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextStartedEvent;
public class CStartEventHandler
        implements ApplicationListener<ContextStartedEvent>{
    @Override
    public void onApplicationEvent(ContextStartedEvent event) {
        System.out.println("ContextStartedEvent Received");
    }
}
